import Http from '@/utils/Http';
import { Uri } from '@/constant/Constants';
import ProtocolResponse from '@/protocol/response/ProtocolResponse';
import LoggerUtil from '@/utils/LoggerUtil';
import { GoodsCategory } from '@/model/GoodsCategory';
import Util from '@/utils/Util';
import UniUtil from '@/utils/UniUtil';
import GoodsInfo from '@/model/GoodsInfo';
import GoodsChannel from '@/model/GoodsChannel';

export namespace GoodsService {
    export  function queryInfoList(categoryId: number, type?: number, showLoading: boolean = false) {
        return  Http.request(Uri.goods_info_list_query, { categoryId: categoryId, type: type }, new Array<GoodsInfo>(), showLoading);
    }
}